home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-readerstuff-
/
richard_kapp
/
playlist
< prev
next >
Wrap
Text File
|
2000-01-31
|
874b
|
47 lines
G4C;PlayLIST by Richard Kapp 1999 ; MUST BE IN THE FIRST(!) LINE
WINBIG 0 0 200 300 ""
wintype 11110001
xonload
VARPATH "PlayGUI/*"
lvuse PlayLIST 1
lvmode SHOW ; change the lv mode on the fly
tut = '$$lv.rec' ; store current choice
cutvar tut cut word 1 tut ; because dir lvs have also the sizes etc
file = '$MODPATH$module'
guiopen PlayLIST
xonclose
guiquit PlayLIST
varpath ''
XLISTVIEW 3 17 180 172 '' sel RAM: 0 DIR ; start off with dir lv
GadID 1
gadfont XHelvetica.font 11 000
cutvar sel cut word 1 sel ; because dir lvs have also the sizes etc
file = '$MODPATH$module'
update PlayLIST 2 'MODULE : $sel'
TEXT 2 1 275 15 "Choose a module.." 40 BOX
GadID 2
XBUTTON 183 17 93 19 'PLAY'
if $file > ''
update PlayLIST 2 'Playing $sel ..'
*FILENAME = $file
update PlayLIST 2 'MODULE : $sel'
endif